package com.highcom.mapper;

import com.highcom.pojo.Company;

import java.util.List;

public interface CompanyMapper {
    //查询所有
    public List<Company> findCompanys();

    //删除一条记录
    public void delCompanyById(int id);

    //查询一条记录
    public Company findCompanyById(int id);

    //修改一条记录
    public void modifyCompany(Company company);

    //添加一条记录
    public void addCompany(Company company);

    //模糊查询
    public List<Company> findCompanysLikeQuery(Company company);
}
